package cn.stylefeng.guns.sys.modular.dataCleanDetail.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.dataCleanDetail.entity.CleanDetail;
import cn.stylefeng.guns.sys.modular.dataCleanDetail.model.params.CleanDetailParam;
import cn.stylefeng.guns.sys.modular.dataCleanDetail.model.result.CleanDetailResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 数据清洗表详情 服务类
 * </p>
 *
 * @author author
 * @since 2020-11-20
 */
public interface CleanDetailService extends IService<CleanDetail> {

    /**
     * 新增
     *
     * @author author
     * @Date 2020-11-20
     */
    void add(CleanDetailParam param);

    /**
     * 删除
     *
     * @author author
     * @Date 2020-11-20
     */
    void delete(CleanDetailParam param);

    /**
     * 更新
     *
     * @author author
     * @Date 2020-11-20
     */
    void update(CleanDetailParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author author
     * @Date 2020-11-20
     */
    CleanDetailResult findBySpec(CleanDetailParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author author
     * @Date 2020-11-20
     */
    List<CleanDetailResult> findListBySpec(CleanDetailParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author author
     * @Date 2020-11-20
     */
     LayuiPageInfo findPageBySpec(CleanDetailParam param);

}
